package jmc.core.model;

// default package
// Generated 18/01/2010 12:59:49 by Hibernate Tools 3.2.0.b9

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

/**
 * Tfunid01 generated by hbm2java
 */
@Entity
@Table(name = "TFUNID01")
public class Tfunid01 implements java.io.Serializable {

	
	private Tfmoca01 tfmoca01;
	private String museri;
	private String muvinr;
	private short mumode;
	private String mucolo;
	private char muesun;
	private byte muopac;
	private long munrdu;
	private String mucono;
	private int mutras;
	private int mufin;
	private String mucmfa;
	private String mudesc;
	private String muvin;
	private String mucfmo;
	private String mucfco;
	private String mucfta;
	private String muires;

	@Id
	@Column(name = "MUSERI", nullable = false, length = 14)
	public String getMuseri() {
		return this.museri;
	}

	public void setMuseri(String museri) {
		this.museri = museri;
	}

	@Column(name = "MUVINR", nullable = false, length = 12)
	public String getMuvinr() {
		return this.muvinr;
	}

	public void setMuvinr(String muvinr) {
		this.muvinr = muvinr;
	}

	@Column(name = "MUMODE", nullable = false, precision = 4, scale = 0)
	public short getMumode() {
		return this.mumode;
	}

	public void setMumode(short mumode) {
		this.mumode = mumode;
	}

	@Column(name = "MUCOLO", nullable = false, length = 8)
	public String getMucolo() {
		return this.mucolo;
	}

	public void setMucolo(String mucolo) {
		this.mucolo = mucolo;
	}

	@Column(name = "MUESUN", nullable = false, length = 1)
	public char getMuesun() {
		return this.muesun;
	}

	public void setMuesun(char muesun) {
		this.muesun = muesun;
	}

	@Column(name = "MUOPAC", nullable = false, precision = 2, scale = 0)
	public byte getMuopac() {
		return this.muopac;
	}

	public void setMuopac(byte muopac) {
		this.muopac = muopac;
	}

	@Column(name = "MUNRDU", nullable = false, precision = 10, scale = 0)
	public long getMunrdu() {
		return this.munrdu;
	}

	public void setMunrdu(long munrdu) {
		this.munrdu = munrdu;
	}

	@Column(name = "MUCONO", nullable = false, length = 14)
	public String getMucono() {
		return this.mucono;
	}

	public void setMucono(String mucono) {
		this.mucono = mucono;
	}

	@Column(name = "MUTRAS", nullable = false, precision = 7, scale = 0)
	public int getMutras() {
		return this.mutras;
	}

	public void setMutras(int mutras) {
		this.mutras = mutras;
	}

	@Column(name = "MUFIN", nullable = false, precision = 7, scale = 0)
	public int getMufin() {
		return this.mufin;
	}

	public void setMufin(int mufin) {
		this.mufin = mufin;
	}

	@Column(name = "MUCMFA", nullable = false, length = 6)
	public String getMucmfa() {
		return this.mucmfa;
	}

	public void setMucmfa(String mucmfa) {
		this.mucmfa = mucmfa;
	}

	@Column(name = "MUDESC", nullable = false, length = 30)
	public String getMudesc() {
		return this.mudesc;
	}

	public void setMudesc(String mudesc) {
		this.mudesc = mudesc;
	}

	@Column(name = "MUVIN", nullable = false, length = 17)
	public String getMuvin() {
		return this.muvin;
	}

	public void setMuvin(String muvin) {
		this.muvin = muvin;
	}

	@Column(name = "MUCFMO", nullable = false, length = 30)
	public String getMucfmo() {
		return this.mucfmo;
	}

	public void setMucfmo(String mucfmo) {
		this.mucfmo = mucfmo;
	}

	@Column(name = "MUCFCO", nullable = false, length = 10)
	public String getMucfco() {
		return this.mucfco;
	}

	public void setMucfco(String mucfco) {
		this.mucfco = mucfco;
	}

	@Column(name = "MUCFTA", nullable = false, length = 5)
	public String getMucfta() {
		return this.mucfta;
	}

	public void setMucfta(String mucfta) {
		this.mucfta = mucfta;
	}

	@Column(name = "MUIRES", nullable = false, length = 14)
	public String getMuires() {
		return this.muires;
	}

	public void setMuires(String muires) {
		this.muires = muires;
	}
	
	@OneToOne(fetch=FetchType.LAZY,targetEntity=Tfmoca01.class) 
	@JoinColumn (insertable=false,updatable=false, name="MUMODE")		
	public Tfmoca01 getTfmoca01() {
		return tfmoca01;
	}

	public void setTfmoca01(Tfmoca01 tfmoca01) {
		this.tfmoca01 = tfmoca01;
	}
	
	
}
